package com.cn.wanxi.mapper;

import com.cn.wanxi.entity.UserEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {
//    int add(UserEntity userEntity);

    UserEntity findByUsernameAndPassword(UserEntity userEntity);

    List<UserEntity> findAll(UserEntity userEntity);

    int getCount(UserEntity userEntity);

    UserEntity findById(int id);
}
